|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.databases.configurations.DatabaseConfiguration
org.eclipse.vtp.framework.databases.configurations.JndiDatabaseConfiguration
public class JndiDatabaseConfiguration
A configuration for a database connection factory that uses the JNDI lookup.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.vtp.framework.databases.configurations.DatabaseConstants |
|---|
NAME_COLUMN, NAME_COMPARISON, NAME_CRITERIA, NAME_DATABASE, NAME_DRIVER, NAME_JDBC_DATABASE, NAME_JNDI_DATABASE, NAME_MAPPING, NAME_NAME, NAME_PASSWORD, NAME_QUERY, NAME_RESULT_CARDINALITY, NAME_RESULT_LIMIT, NAME_RESULT_NAME, NAME_RESULT_TYPE, NAME_TABLE, NAME_TIMEOUT, NAME_TYPE, NAME_URI, NAME_URL, NAME_USERNAME, NAME_VALUE, NAMESPACE_URI |
| Constructor Summary | |
|---|---|
JndiDatabaseConfiguration()
Creates a new JdbcDatabaseConfiguration. |
|
| Method Summary | |
|---|---|
java.lang.String |
getUri()
Returns the URI to connect with. |
void |
load(org.w3c.dom.Element configurationElement)
Loads the configuration information from the specified XML element. |
void |
save(org.w3c.dom.Element configurationElement)
Saves the configuration information into the supplied XML element. |
void |
setUri(java.lang.String uri)
Sets the URI to connect with. |
| Methods inherited from class org.eclipse.vtp.framework.databases.configurations.DatabaseConfiguration |
|---|
addTable, getName, getPassword, getTables, getUsername, removeTable, setName, setPassword, setUsername |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiDatabaseConfiguration()
| Method Detail |
|---|
public java.lang.String getUri()
public void setUri(java.lang.String uri)
uri - The URI to connect with.public void load(org.w3c.dom.Element configurationElement)
IConfiguration
load in interface IConfigurationload in class DatabaseConfigurationconfigurationElement - The element to load the configuration from.public void save(org.w3c.dom.Element configurationElement)
IConfiguration
save in interface IConfigurationsave in class DatabaseConfigurationconfigurationElement - The element to save the configuration to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||